<?php

class User_Bootstrap extends Zend_Application_Module_Bootstrap {

	public function _initRoutes() {
		$front = Zend_Controller_Front::getInstance ();
		$router = $front->getRouter ();

		$router->addRoute ( 'logout', new Zend_Controller_Router_Route_Static ( 'logout', array ('module' => 'user', 'controller' => 'index', 'action' => 'logout' ), array ('module' => 'user', 'controller' => 'index', 'action' => 'logout' ) ) );

		$router->addRoute ( 'login', new Zend_Controller_Router_Route_Static ( 'login', array ('module' => 'user', 'controller' => 'index', 'action' => 'login' ), array ('module' => 'user', 'controller' => 'index', 'action' => 'login' ) ) );

		$router->addRoute ( 'profile', new Zend_Controller_Router_Route_Static ( 'profile', array ('module' => 'user', 'controller' => 'index', 'action' => 'profile' ), array ('module' => 'user', 'controller' => 'index', 'action' => 'profile' ) ) );

		$router->addRoute ( 'error', new Zend_Controller_Router_Route_Static ( 'error', array ('module' => 'user', 'controller' => 'index', 'action' => 'error' ), array ('module' => 'user', 'controller' => 'index', 'action' => 'error' ) ) );
	}

}
